//
//  ZCAllSortCollectionViewCell.m
//  VoiceMusic
//
//  Created by dllo on 15/10/20.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCAllSortCollectionViewCell.h"

@implementation ZCAllSortCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        CGRect rect = [[UIScreen mainScreen] bounds];
        self.name = [[ZCBaseLabel alloc] initWithFrame:CGRectMake(0, 0, (rect.size.width - 50) / 4, 30)];
        self.name.backgroundColor = [UIColor grayColor];
        self.name.alpha = 0.5;
        self.name.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.name];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
